package org.jeecg.modules.gongqiang.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.gongqiang.entity.UserhomeOrder;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 订单
 * @Author: jeecg-boot
 * @Date:   2024-06-12
 * @Version: V1.0
 */
public interface IUserhomeOrderService extends IService<UserhomeOrder> {
    IPage<UserhomeOrder> pageList(Page<UserhomeOrder> page, QueryWrapper<UserhomeOrder> queryWrapper);

    UserhomeOrder getByIdLock(String orderId);

    void payStatus(Integer payType,String outTradeNo);

    void cancelOrder(String orderId, Integer userId);
}
